package defaultpkg;
import com.razorthink.runtime.*;
public class ErrorCodes  {
	public static ErrorStatus APPLICATION_ERROR = new ErrorStatus(500,"APPLICATION_ERROR","SERVICE_MAIN","ERR500","","","","Application Error Occured in primary thread");
	public static ErrorStatus ERROR_USER_EXISTS = new ErrorStatus(400,"ERROR_USER_EXISTS","","USR_ERR_001","","","","USER ALREADY EXISTS");
	public static ErrorStatus ERROR_INVALID_USER = new ErrorStatus(400,"ERROR_INVALID_USER","","USR_ERR_002","","","","INVALID USER");
	public static ErrorStatus ERROR_JD_EXISTS = new ErrorStatus(409,"ERROR_JD_EXISTS","","JD_ERR_001","","","","JD ALREADY EXISTS");
	public static ErrorStatus ERROR_INVALID_PRIVILEGE = new ErrorStatus(400,"ERROR_INVALID_PRIVILEGE","","INVALD_PRVLG_001","","","","INVALID USER PRIVILEGE");
	public static ErrorStatus ERROR_INVALID_COMPANY = new ErrorStatus(400,"ERROR_INVALID_COMPANY","","INVALD_CMPNY_001","","","","INVALID COMPANY");
	public static ErrorStatus ERROR_INVALID_JOB_BOARD = new ErrorStatus(400,"ERROR_INVALID_JOB_BOARD","","INVALD_BOARD_001","","","","INVALID JOB BOARD");
	public static ErrorStatus ERROR_INVALID_MAX_LIMIT = new ErrorStatus(400,"ERROR_INVALID_MAX_LIMIT","","INVALD_LIMIT_001","","","","INVALID MAX USAGE LIMIT");
	public static ErrorStatus ERROR_JD_NOT_FOUND = new ErrorStatus(404,"ERROR_JD_NOT_FOUND","","JD_NOTFOUND_001","","","","JD NOT FOUND");
	public static ErrorStatus ERROR_USER_NOT_FOUND = new ErrorStatus(404,"ERROR_USER_NOT_FOUND","","USR_NOTFOUND_001","","","","USER NOT FOUND");
	public static ErrorStatus ERROR_JOB_BOARD_NOT_FOUND = new ErrorStatus(404,"ERROR_JOB_BOARD_NOT_FOUND","","BOARD_NOTFOUND_001","","","","JOB BOARD NOT FOUND");
	public static ErrorStatus ERROR_USAGE_RESTRICTION_NOT_FOUND = new ErrorStatus(404,"ERROR_USAGE_RESTRICTION_NOT_FOUND","","RSTRCTN_NOTFOUND_001","","","","USAGE RESTRICTION NOT FOUND");
	public static ErrorStatus USER_SESSION_EXPIRED = new ErrorStatus(403,"USER_SESSION_EXPIRED","","SSN_ERR_001","","","","SESSION NO LONGER VALID");
	public static ErrorStatus MISSING_FIELD = new ErrorStatus(400,"MISSING_FIELD","","COMMON_ERR_001","","","","MISSING MANDATORY FIELDS");
	public static ErrorStatus RECORD_NOT_FOUND = new ErrorStatus(404,"RECORD_NOT_FOUND","","COMMON_ERR_002","","","","NO RECORD FOUND");
	public static ErrorStatus ERROR_ACCESS_FORBIDDEN = new ErrorStatus(403,"ERROR_ACCESS_FORBIDDEN","","ACS_FRBDN_ERR_001","","","","ACCESS FORBIDDEN");
	public static ErrorStatus BAD_REQUEST = new ErrorStatus(400,"BAD_REQUEST","","COMMON_ERR_003","","","","BAD REQUEST");
	public static ErrorStatus DUPLICATE_ENTRY = new ErrorStatus(409,"DUPLICATE_ENTRY","","COMMON_ERR_004","","","","conflict");
}
